/**
 * 2013-6-2 上午4:37:55 Created By niexiaoqiang
 */

package com.xiaoqiang.util;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

/**
 * 公共类，动态添加UI
 */
public class LayoutCargar {

	public static View getpartUi(Context context, int layout_id) {
		LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		return inflater.inflate(layout_id, null);
	}

}
